set(cube2video_SRCS
	main.cc
	)
add_executable(cube2video ${cube2video_SRCS})
if(USE_PRIV_WEBM)
	add_dependencies(cube2video priv-webm)
endif()
if(USE_PRIV_VPX)
	add_dependencies(cube2video priv-vpx)
endif()
add_dependencies(cube2video priv-hevc)
target_link_libraries(cube2video fntshared
	${WEBM_LIBRARIES} ${VPX_LIBRARIES} ${HEVC_LIBRARIES} ${TIFF_LIBRARIES})
target_include_directories(cube2video SYSTEM PUBLIC
	${WEBM_INCLUDE_DIRS} ${VPX_INCLUDE_DIRS} ${TIFF_INCLUDE_DIR})
target_include_directories(cube2video PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/../../shared")
set_target_properties(cube2video PROPERTIES OUTPUT_NAME "${PACKAGE_NAME}-cube2video")
install(TARGETS cube2video RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")

